package vip.xiaonuo.biz.modular.timetable.domain;
/**
 * Simple timeslot abstraction -- just represents a timeslot (like "Wed 9:00am-11:00am").
 *  
 * @author bkanber
 *
 */
public class Timeslot {
    private final String timeslotId;
    private final String timeslot;
    private final String code;

    /**
     * Initalize new Timeslot
     *
     * @param timeslotId The ID for this timeslot
     * @param timeslot   The timeslot being initalized
     * @param code
     */
    public Timeslot(String timeslotId, String timeslot, String code){
        this.timeslotId = timeslotId;
        this.timeslot = timeslot;
        this.code = code;
    }
    
    /**
     * Returns the timeslotId
     *
     * @return timeslotId
     */
    public String getTimeslotId(){
        return this.timeslotId;
    }
    
    /**
     * Returns the timeslot
     * 
     * @return timeslot
     */
    public String getTimeslot(){
        return this.timeslot;
    }

    public String getCode() {
        return this.code;
    }
}
